How to install Capella and Addons ?

Capella Installation

Prerequisites Needed for Install

For a successful installation of Capella, your computer must meet the following recommended requirements:

Starting with Capella 5.0, Open JDK 14 is directly embedded in the product. Having a Java environment on your machine is no longer a requirement.

If however you want to use a different JDK version, you need to modify the capella.ini file at 2 places. The first one is to add a -vm argument that points to your JDK location. The second one is to modify -Dosgi.requiredJavaVersion argument to point to your JDK version. Please refer to the following link for more information. Notice that only the embedded JDK has been field-tested.

Trouble shooting

If launching Capella in Windows OS ends up with the following pop-up, it means that your OS misses some libraries to be compatible with JDK 14.

The solution is to install this Microsoft's update according to your OS version: https://support.microsoft.com/en-us/help/2999226/update-for-universal-c-runtime-in-windows

Capella Installation Procedure

Before starting the installation, the target location of Capella must be cleaned:

  1. The previous Capella version must be correctly uninstalled (See related section)
  2. All manual patches/extensions must be removed
  3. Download Capella and extract it in a given directory

Note : See Restriction

Verification Installation Procedure

The Capella installation is successful if the archive extraction finished without errors.

Multi-user installation

Capella provides different strategies for supporting multi-user installs. Each strategy is deployed based on three important locations:

Strategy 1 - Private install

Single user install. This is the most basic configuration. Nothing needs to be set up.

Particularities:
Setup:

Strategy 2 - Shared install

Multi user shared install.

Particularities:
Setup:

Strategy 3 - Shared configuration

Multi user shared configuration install.

Particularities:
Prerequisites:
Setup:

Strategy 4 - Multi-level shared configuration

Multi level user shared configuration install.

Particularities:
Setup:

Workaround to open the Help Content when there is problem with the browser

Sometimes due to security policy, the web browser has problem on opening local host web pages. This is the case of the Help Content page when it is accessed via the 127.0.0.1 IP address. Here are 2 possible workarounds to overcome this problem:

Addons Installation

There are 3 ways to install addons :

(Example)

  • Dropins location in Context_A directory

-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=D:\CapellaContexts\Context_A\dropins

  • Configuration location for Context_A in the user's specific directory

-Dosgi.configuration.area=@user.home/.../Capella/Context_A/configuration

  • Default workspace location for Context_A in user's specific directory

-Dosgi.instance.area.default=@user.home/../Capella/Context_A/workspace

(Example)

  • Dropins location in Context_B directory

-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=D:\CapellaContexts\Context_B\dropins

  • Configuration location for Context_B in user's specific directory

-Dosgi.configuration.area=@user.home/.../Capella/Context_B/configuration

  • Default workspace location for Context_B in user's specific directory

-Dosgi.instance.area.default=@user.home/../Capella/Context_B/workspace

The extensions for Capella requires the installation of the following software:

Note:Make sure that the addon/extension is compatible with your current version of Capella.

Addons

The installation procedure is the same for all addons.

As Dropin

To manually install your addon:

Check that the extraction process has finished without error.

- Make sure that the installed addon as dropin has a valid structure. The structure is similar to:

  • <addon name>\eclipse\plugins\*
  • <addon name>\eclipse\features\*

- The structure is different from the one of an update site. The update site does have the artifacts.jar and content.jar which might cause problems for installing a plug-in.

As Update Site

Verification

The following procedure for verifying the successful installation of addons, assumes that Capella is well installed and fully functional.

Plugins Verification

- After updating the installation of Capella, do not forget to restart the application with the option -clean. Remove this option for the next times to avoid starting performance issues.

- Do not forget to switch to a new workspace when the configuration is modified, since some information are cached by Eclipse (Java version, etc...).

Restriction

Capella is based on Eclipse: folder hierarchy and namespace of Capella and Eclipse plugins are quite long. Because of Windows folder path restriction, avoid entering a long installation location.

In case the path is too long, some files can not be opened by Capella and this will cause errors. Since the extraction will raise an error you should delete the partially extracted files and re-extract it.

Example in the Description Section .

The limit is 115 characters in the path of the Capella directory to the capella folder: <CAPELLA_INSTALLATION_DIR>/capella.

Note: the "space" character is counted like three characters (%20).